<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CreateUser.ascx.cs" Inherits="Admin_Controls_CreateUser" %>
<asp:Literal ID="ltrlErrorMessage" runat="server" Visible="false">
<table>
    <tr>
        <td class="errorHeader">
            Error
        </td>
    </tr>
    <tr>
    <td class="errorMessage">
     User Does Not Exist
    </td>
    </tr>
</table>
</asp:Literal>
<table border="0">
    <tr>
        <td align="center" colspan="2" style="height: 29px">
            Update Profile</td>
    </tr>
    <tr>
        <td align="right">
            <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label></td>
        <td>
            <asp:Label ID="UserName" runat="server" />
        </td>
    </tr>
    <tr>
        <td align="right">
            <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email">E-mail:</asp:Label></td>
        <td>
            <asp:TextBox ID="Email" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email"
                ErrorMessage="E-mail is required." ToolTip="E-mail is required." ValidationGroup="ProfileUpdate">*</asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td align="right" style="height: 11px">
            <asp:Label ID="lblActiveUser" runat="server" AssociatedControlID="chkApprovedUser">Acitve:</asp:Label></td>
        <td style="height: 11px">
            <asp:CheckBox runat="server" ID="chkApprovedUser" />
        </td>
    </tr>
    <tr>
        <td align="right" style="height: 11px">
            <asp:Label ID="lblRolesList" runat="server" AssociatedControlID="listRoles">System Roles:</asp:Label></td>
        <td style="height: 11px">
            <asp:CheckBoxList runat="server" ID="listRoles" RepeatDirection="Horizontal" />
        </td>
    </tr>
    <tr>
        <td align="center" colspan="2">
            &nbsp;</td>
    </tr>
    <tr>
        <td align="center" colspan="2" style="color: red; height: 21px">
            <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal>
        </td>
    </tr>
    <tr>
        <td align="right">
            <asp:Literal ID="ltrUpdateUser" runat="server" EnableViewState="False" Visible="false">User Updated</asp:Literal></td>
    </tr>
    <tr>
        <td align="right">
            <asp:Button runat="server" ID="btnSubmit" OnClick="On_btnSubmit" Text="Submit" />
        </td>
    </tr>
    <tr>
        <td align="left">
            <asp:HyperLink runat="server" ID="lnkUserList" Text="Back to User List" NavigateUrl="~/admin/UserList.aspx" /></td>
    </tr>
</table>
